{if ($config['guanzhu'] == 1 || $config['guanzhu_join'] == 2) && empty($_W['fans']['follow'])}
<!-- 
followed.html
 判断是否已经关注该微信公众号，引导关注
Created by Administrator on 2016-02-29.
Copyright 2016 Administrator. All rights reserved.
-->
<style type="text/css">
.subscribe{position: absolute;width: 100%; left: 0; right: 0; background-color: rgba(0, 0, 0, 0.8); z-index: 1000000; overflow: hidden; margin: 0 auto; max-width: 640px; min-width: 320px;height:60px;}
.subscribe .img{width:40px; height:40px; position:absolute; left:10px; top:10px;}
.subscribe .img img{width:40px; height:40px; border-radius:3px;}
.subscribe .text{padding:10px 90px 10px 60px; line-height:20px; color:#fff; font-size:14px;}
.subscribe .text font{color:#FA5343;}
.subscribe .btn{position:absolute; right:10px; top:15px;}
.subscribe .btn .buttonn{background:#FA5343;width:70px;height:30px;line-height:30px;text-align:center; border-radius:5px; color: #fff;border:none;}
.subscribe p{ color:#FFF; margin-bottom: 5px;}
.st{
	position:absolute;
	top:20%;
    left:0;
	right:0;
	z-index:100000;
    opacity:0.75;
    color:white;
    background: rgba(68, 68, 68, 0);
    background-image: initial;
    background-position-x: initial;
    background-position-y: initial;
    background-size: initial;
    background-repeat-x: initial;
    background-repeat-y: initial;
    background-attachment: initial;
    background-origin: initial;
    background-clip: initial;
    background-color: rgba(68, 68, 68, 0);
}
.st .m_guide{ text-align:center}
.st .close{ display:block; width:200px; margin:auto; text-align:right;}
.all{position:absolute;z-index:99999;width: 100%;height: 100%;opacity: 0.75;background-color: #000000;}
</style>
{if $config['guanzhu'] == 1}
<div class="subscribe">
    <div class="img"><img src="{php echo tomedia($config['slogo']);}"></div>
    <div class="text">
        <p>欢迎进入<font>{$config['sname']}</font></p>
        <p>关注公众号,享专属服务</p>
    </div>
    <div class="btn">
        <a class="lizhuanz" href="javascript:$('#m_popUp').show();$('.subscribe').hide();"><div class="buttonn">立即关注</div></a>
    </div>
</div>
{/if}
<div class="top" id="m_popUp" style="display: none;">
<div class="all" style="font-size:14px;">
</div>
<div class="st">
	<div onClick="$('.top').hide()" class="st" style="position: absolute;margin-top: -80px; text-align:center"><span class="close">×关闭</span></div>
	<div style="float: right;opacity: 0.75;color: #000000;"></div>
    <div class="m_guide">
        <div style="margin-left: auto;margin-right: auto;background-color: rgba(0, 0, 0, 0);">
        	<img src="{php echo tomedia($config['followed_image']);}" style="width: 200px;height: 200px;">
        </div>
        <div class="m_how" style="margin-top: 10px;">
            <h4 style="text-align: center;">长按关注&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp;关注享有惊喜!</h4>
        </div>
    </div>
</div>
</div>
<script>
$(document).on('click', '.js-join', function() {
	util.confirm('您还未关注,不能报名.', ' ', function(e) {
		if (e.index == 1) {
			$('#m_popUp').show();$('.subscribe').hide();
		}else{}
	});
})
</script>  
{/if}